package the.guanzhong.delivery.infrastructure.common.enums;

import lombok.Getter;

/**
 * 配送状态
 */
public enum DeliveryStatusEnum {

    WAITING_RECEIVING(10, "待接单"),
    WAITING_TAKING(20, "待取件"),
    WAITING_HAULAGE(30, "待运输");


    DeliveryStatusEnum(Integer code, String name) {
        this.code = code;
        this.name = name;
    }

    @Getter
    private Integer code;

    @Getter
    private String name;

}
